package cn.powertime.evaluation.config;

import org.orclight.java.util.captha.CaptchaClient;
import org.orclight.java.util.captha.strategy.SimpleCaptchaStrategy;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class CaptchaConfig {
    @Bean
    public CaptchaClient captchaClient(){
        return CaptchaClient.create()
                .captchaStrategy(new SimpleCaptchaStrategy())
                .build();
    }
}
